package com.ipzoe.app.convert;

import com.ipzoe.app.dto.MemberRechargePackageDTO;
import com.ipzoe.mem.domain.MemberRechargePackage;
import com.ipzoe.mem.model.MemberRechargePackageSnapshotDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MemberRechargePackageConvert {

    MemberRechargePackageConvert INSTANCE = Mappers.getMapper(MemberRechargePackageConvert.class);
    @Mappings({})
    List<MemberRechargePackageDTO> convert(List<MemberRechargePackage> list);

    MemberRechargePackageSnapshotDTO convert(MemberRechargePackage item);
}
